package homework;

import java.io.File;
import java.io.IOException;

public class CreatFile {
    public static void main(String[] args) throws IOException {
        File file=new File("Day05\\src\\homework\\DemoTxt\\aaa");
        if (!file.exists())
            file.mkdirs();

        File file1=new File("Day05\\src\\homework\\DemoTxt\\aaa.txt");
        if (!file1.exists())
            file1.createNewFile();

        File file2=new File("Day05\\src\\homework\\DemoTxt\\bbb");
        if (!file2.exists())
            file2.mkdirs();
    }
}
